home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / door / trivia17.zip / TRIVIA.DOC < prev    next >
Text File  |  1993-01-15  |  21KB  |  460 lines

  1.  
  2.                              Sunrise Trivia
  3.  
  4.                                   v1.7
  5.  
  6.                                    by
  7.  
  8.                               Al Lawrence
  9.  
  10.                             Sunrise-80  BBS
  11.                             (404) 256-9525
  12.  
  13.  
  14.  
  15.  
  16.                                 OVERVIEW
  17.                                 ________
  18.  
  19.  
  20.    This version of Trivia is played very simply by trying to answer the
  21.    questions presented. A point value is assigned to each question and the
  22.    caller receives that point value when the question is answered correctly.
  23.    There is a "hints" option on the menu, for caller use, which only gives
  24.    the number of words contained in the answer. The answers MUST MATCH
  25.    EXACTLY and thus makes this version of Trivia a real challenge.
  26.  
  27.  
  28.    NOTE: Most errors will be logged to a file called DFRAME.ERR, which is
  29.          created in the directory you run the door from.
  30.  
  31.  
  32.  
  33.                               INSTALLATION
  34.                               ____________
  35.  
  36.  
  37.    Installation is fairly easy and straight-forward. The following steps and
  38.    examples should have you up and running in a very short period of time.
  39.    It is assumed that you are familiar with setting up DOORS on your system.
  40.    To this end, only examples of the configuration file and Door batch file
  41.    are described.
  42.  
  43.       1) Create a directory to hold all TRIVIA files
  44.  
  45.       2) Unzip TRIVIAxx.ZIP into the the above directory
  46.  
  47.       3) Create a configuration file, with a name of your choice, or
  48.          modify the supplied TRIVIA.CFG file. A description follows:
  49.  
  50.             **                       Location of system file (See Below)
  51.             SUNRISE-80 BBS           Your BBS Name
  52.             Al                       Sysop's First name
  53.  
  54.             Lawrence                 Sysop's Last Name
  55.  
  56. |-----------------------------------------------------------------------------|
  57. | READ!     1                        CommPort  \ These 2 lines are required   |
  58. | READ!     1                        Node #    / ONLY for GTUSER.BBS          |
  59. |-----------------------------------------------------------------------------|
  60.  
  61.             00000000                 Registration Number
  62.  
  63.     !   #   1                        Maximum # of Games per day
  64.                                      (Sysop gets 99 in Registered version ONLY!)
  65.  
  66.         #   2                        Keyboard timeout value in Minutes
  67.  
  68.             50                       Number of Top Score entries.
  69.                                      Minimum = 10, Maximum = 99.
  70.  
  71.         #   NONE                     Drive:\Path\Filename to contain the
  72.                                      Top Score Bulletin or enter NONE
  73.                                      for NO Bulletin creation.
  74.  
  75.         #   NONE                     Drive:\Path\Filename to contain the
  76.                                      Top Score Bulletin (Color) or enter NONE
  77.                                      for NO Bulletin creation.
  78.  
  79.         #   20                       Number of questions to be solved
  80.  
  81.             2                        1 = DO NOT Display ADOPT-A-DOOR Message
  82.                                      2 = Display ADOPT-A-DOOR message
  83.  
  84.         #   2                        Number of players that must answer ALL
  85.                                      questions, before a new set of questions
  86.                                      is posted.
  87.  
  88.     !   #   0                        Time Allowed in Door
  89.                                      (Sysop = Time Remaining - REG. VERSION)
  90.  
  91.         #   Y                        Y = Allow Sysop to have 999 games
  92.                                      N = Do Not Allow Sysop 999 games
  93.  
  94.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  95.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  96.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  97.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  98.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  99.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  100.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  101.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  102.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  103.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  104.  
  105.     @   #   XXXX/YYYY                 Blackout Range  From/To
  106.     @   #   XXXX/YYYY                 Blackout Range  From/To
  107.     @   #   XXXX/YYYY                 Blackout Range  From/To
  108.     @   #   XXXX/YYYY                 Blackout Range  From/To
  109.     @   #   XXXX/YYYY                 Blackout Range  From/To
  110.           ** = Replace with ONE of the following:
  111.  
  112. C:\PCB\PCBOARD.SYS              <- For PCBoard systems using PCBOARD.SYS only
  113. C:\BBS\CALLINFO.BBS             <- For Wildcat! systems (prior to v3.0)
  114. C:\BBS\USERINFO.DAT             <- For Wildcat! systems using v3.x
  115.                                    (Note:DOOR.SYS must be in SAME directory)
  116. C:\BBS\DOOR.SYS                 <- For ANY systems that support DOOR.SYS
  117. C:\BBS\DORINFOx.DEF             <- For ANY systems that support DORINFOx.DEF
  118. C:\BBS\SFDOORS.DAT              <- For Spitfire systems.
  119. c:\bbs\TRIBBS.SYS               <- For TriBBS systems.
  120. C:\BBS\CHAIN.TXT                <- For WWIV systems
  121. C:\BBS\GTUSER.BBS               <- For GT Power
  122.                                    * if using this option you must put the
  123.                                      ComPort # on line 5 and the Node # on
  124.                                      line 6 of the configuration file
  125.  
  126.            # = Requires registration to change to a different value.
  127.            ! = See "Plays Per DAY/DOOR Time" Below
  128.            @ = See "Blackout Periods" Below
  129.  
  130.  
  131.                NOTE: There are NO Blank Lines in the Config File!!
  132.  
  133.  
  134.       4) Create a batch file or modify the PAIR3 file supplied. A
  135.          description of this file follows:
  136.  
  137.             ECHO off
  138.             cd\PCB\DOORS\TRIVIA       Location of Trivia files
  139.             TRIVIA TRIVIA.CFG         EXE filename and CNF filename (Name
  140.                                       used in creating file in #3 above)
  141.             CD\PCB
  142.             BOARD
  143.  
  144.  
  145.        5) When running in more than one node, be sure to supply a
  146.           different configuration name for each node (your choice of name).
  147.  
  148.        6) If running with Fossil-based multi-port boards add
  149.            /FD to the line containing the CFG name as follows:
  150.  
  151.                          TRIVIA TRIVIA.CFG /FD
  152.  
  153.  
  154.                           BLACKOUT PERIODS
  155.                           ________________
  156.  
  157.       Use the Blackout ranges option to define up to 5 time periods during
  158.       which you DO NOT want the Door to be played. If a caller tries to access
  159.       the Door during the Blackout period, they will be shown a message that
  160.       contains ALL the Blackout periods you have defined, and to try the Door
  161.       at a later time.
  162.  
  163.       Each of the 5 Blackout ranges takes the form of XXXX/YYYY, where
  164.       XXXX=beginning time and YYYY=the ending time. For example, 0930/1230
  165.       means to NOT allow the Door to be played between 9:30am and 12:30pm.
  166.  
  167.       IMPORTANT: - All times must be 4 digits & must follow the XXXX/YYYY format
  168.                  - DO NOT change the XXXX/YYYY entry UNLESS you want to assign
  169.                    a Blackout range.
  170.                  - You MUST use the MILITARY time format. Example: 2030=8:30pm
  171.                    0900=9am, 0030=12:30am, 1700=5pm, etc.
  172.  
  173.  
  174.                           PLAYS Per DAY/DOOR Time
  175.                           _______________________
  176.  
  177.       Plays Per Day and Door Time can be controlled several ways:
  178.  
  179.       (1) You can use the Games Per Day, singular option, in the config
  180.           file above. This option, will affect ALL callers whose Security
  181.           Level is NOT defined in any of the 10 optional Security Level/
  182.           Plays Per Day entries in the config file.
  183.  
  184.       (2) You can use the Door Time, singular option, in the config file
  185.           above. This option, will affect ALL callers whose Security
  186.           Level is NOT defined in any of the 10 optional Security Level/
  187.           Plays Per Day/Door Time entries in the config file.
  188.  
  189.       (3) You can restrict the number of games a specific Security Level
  190.           will be allowed to play per day or REWARD specific Levels with
  191.           more Plays Per Day.
  192.  
  193.           Likewise, you can restrict the Play time for a specific Security
  194.           Level or REWARD specific Levels with more Door Time.
  195.  
  196.           These options are handled by the use of the 10 config
  197.           entries (000=00/00).
  198.  
  199.           The format of each entry is as follows:
  200.  
  201.           XXX=YY/ZZ  where XXX is the Security Level (must be 3 digits)
  202.                      where =  is a constant and MUST be included
  203.                      where YY is the # of games per day (must be 2 digits)
  204.                      where / is a constant and MUST be included
  205.                      where ZZ is num. minutes per Door entry (must be 2 digits)
  206.  
  207.           If the callers Security Level is NOT defined, his/her Plays Per
  208.           Day and Door Time will be controlled by the values in items
  209.           (1) and (2), above, respectively..
  210.  
  211.           You may define up to 10 Security Levels. All unused entries must
  212.           be defined as   000=00/00
  213.         --------------------------------------------------------------------
  214.           Example: Suppose you had 3 Security Levels defined on your BBS as
  215.           (20=Subscriber, 30=Visiting Sysop, 40=CoSysop, 90=Friend) and you
  216.           wanted to set Plays Per Day as :     Subscriber=5
  217.                                            Visiting Sysop=2
  218.                                                   CoSysop=3
  219.                                                    Friend=10
  220.  
  221.           and Door Time as follows:     Subscriber=30 minutes
  222.                                     Visiting Sysop=20 minutes
  223.                                            CoSysop=10 minutes
  224.                                             Friend=remaining call time
  225.  
  226.  
  227.           You would set the Individual "Games per Day" config entry to 1 and
  228.           the individual "Door Time" to 5 minutes (these would be the
  229.           default number of games and default Time for all Security Levels
  230.           other than 20,30 or 40... make them any number you want). Next you
  231.           would replace 4 of the Security Level entries as :  020=05/30
  232.                                                               030=02/20
  233.                                                               040=03/10
  234.                                                               090=10/0
  235.  
  236.  
  237.                      TRIVIA MAINTENANCE (TRIVMANT.EXE)
  238.                      _________________________________
  239.  
  240.       The maintenance program is used to:
  241.           . Add questions to database.
  242.               (Maximum of 20 questions may exist in the database if
  243.                Trivia is NOT registered)
  244.           . Manually change questions, create new question file and
  245.               clear high score file.
  246.           . Automatically change questions, create new question file,
  247.               clear high score file. (This option requires registration!)
  248.           . Create a file containing answers to the prior set of questions.
  249.           . Append all old questions to a file (TRIVQUE.OLD) for your use!
  250.           . Import a question file, created offline, into the database.
  251.              (Registered version only!)
  252.  
  253.  
  254.       QUESTION FILE FORMAT:
  255.       --------------------
  256.       You can create an ASCII question file, using your favorite editor or
  257.       word processor. Sunrise Trivia requires that this file be created in
  258.       the following format:
  259.  
  260.                            Question\Answer\Point Value
  261.  
  262.       The format must be followed EXACTLY! EVERYTHING must be on the same line
  263.       using the separation character (\) as shown!!!
  264.  
  265.       NOTE: The ANSWER MUST NOT contain a comma!!!!
  266.  
  267.       The maximum length of the question is 215 characters.
  268.       The minimum length of the question is 15  characters.
  269.       The maximum length of the answer is 30 characters.
  270.       The valid point values are 5, 10 or 15 only.
  271.  
  272.       This file MUST be imported using the Import option. DO NOT ATTEMPT to
  273.       use this file directly in the Sunrise Trivia Doors.
  274.  
  275.  
  276.  
  277.  
  278.                         NON-STANDARD COM SUPPORT
  279.                         ________________________
  280.  
  281.       Support for COM 1-4 on the standard IRQ's - COM1/COM3 = IRQ4 and
  282.       COM2/COM4 = IRQ3. If you wish to use a non-standard IRQ, add the IRQ
  283.       number after the configuration filename. Let's assume your Door is
  284.       called FOOBAR and you want to use COM1 and IRQ5. The command line
  285.       passed to your Door would be:
  286.  
  287.                             FOOBAR FOOBAR.CFG /5
  288.  
  289.       The /5 tells FOOBAR to use IRQ5 rather than the standard IRQ4 that is
  290.       normally used with COM1. No /x parameter is needed for the standard
  291.       IRQ's.
  292.  
  293.       As an alternative, you may use an environmental variable on the command
  294.       line. To use the variable (following the example above), place a
  295.       SET IRQ=5 in the batch file used to bring up your BBS (you would need a
  296.       different IRQ number for each node). The command line would now look
  297.       like this:
  298.  
  299.                           FOOBAR FOOBAR.CFG /%IRQ%
  300.  
  301.       This, in combination with the use of the environmental variables
  302.       described in the MULTI-NODE SETUP section will allow you to use one
  303.       batch file and one config file to run this door on all nodes.
  304.  
  305.  
  306.  
  307.  
  308.                            MULTI-NODE SETUP
  309.                            ________________
  310.  
  311.       All Sunrise Doors are Multi-Node capable. Each node must have the
  312.       ability to access a configuration file which will have its own system
  313.       file (DORINFOx.DEF, PCBOARD.SYS, DOOR.SYS, etc) defined on the first
  314.       line. There are 2 ways to accomplish this:
  315.  
  316.       (1) Create a separate configuration file for each node. The only
  317.           difference between each file would be the location of the system
  318.           file for that particular node. For example, on my system there are 2
  319.           nodes and the first line of the config files would look like this:
  320.  
  321.                         NODE1:  H:\PCB1\DOOR.SYS
  322.                         NODE2:  H:\PCB2\DOOR.SYS
  323.  
  324.           Thus, if you have a 4 node BBS, you will need 4 configuration files.
  325.  
  326.       (2) Use ONE configuration file for ALL nodes. This Door will recognize
  327.           the following PCBoard environmental variables:
  328.  
  329.                  PCBDIR    (Directory containing the System file)
  330.                  PCBDRIVE  (Drive containing the System file)
  331.  
  332.           Thus, the first line of the SINGLE configuration file, for this Door
  333.           would look like this:
  334.  
  335.                         %PCBDRIVE%%PCBDIR%\DOOR.SYS
  336.  
  337.       NOTE: This option, as described, assumes that you are running PCBoard
  338.             14.5a software. The environmental variables are automatically
  339.             created by the software for each node.
  340.  
  341.             HOWEVER, if you are running other BBS software you should be able
  342.             to set the variables EXACTLY as described below, for EACH node
  343.             (more than likely in each batch file you use to bring up EACH node):
  344.  
  345.                             PCBDRIVE=C:
  346.                             ^^^^^^^^^
  347.                             PCBDIR=\NODE2
  348.                             ^^^^^^^^
  349.  
  350.             Info with a carat (^) under it, MUST be typed as is. The rest
  351.             depends on your naming conventions.
  352.  
  353.             This, in combination with the use of the optional environmental
  354.             variable described in the NON-STANDARD COM SUPPORT section, will
  355.             allow you to use one batch file and one config file to run this
  356.             door on all nodes.
  357.  
  358.  
  359.  
  360.  
  361.                                ADOPT-A-DOOR
  362.                                ____________
  363.  
  364.     Having been a Sysop for a number of years, I have had my share of problems
  365.     and frustrations getting financial support for my board's upkeep. A fellow
  366.     Sysop left a message on my board, not long ago, about a concept that was
  367.     being used by several boards around the country.
  368.  
  369.     The concept, ADOPT-A-DOOR, allows a caller to register (ADOPT) a door. It
  370.     would be the same as sending in a donation, only this way it is earmarked
  371.     for registering a particular door. In a way, the user feels he/she is
  372.     "getting something in return". As a Door author I have decided to build
  373.     this concept into each of my Door programs. The concept replaces the
  374.     usual message "tell the Sysop to register this Door" we find in most
  375.     doors.
  376.  
  377.     If the Door is unregisterd then a message appears on the opening screen
  378.     to that effect. After finishing or suspending a game, a message screen
  379.     is displayed about the ADOPT-A-DOOR concept. The message also tells the
  380.     caller to contact the Sysop to find out if there is any further details
  381.     to the ADOPT-A-DOOR concept. Some Sysops give extra D/L time, online
  382.     time, etc to callers that ADOPT-A-DOOR.
  383.  
  384.     If the Door has been registered, either by the Sysop or other callers,
  385.     the names of those contributors will be displayed in the closing screen.
  386.  
  387.     NOTE: If you want to display the names of the callers that contributed
  388.           to registering the Door, you must create an ASCII file called
  389.           ADOPT.SYS. You create it with an Editor or Word Processor. Enter
  390.           the name(s) of the contributors (one on each line, maximum of 5
  391.           entries, each a maximum of 30 characters long). This file must be
  392.           saved, in ASCII format, and placed in the Door directory.
  393.  
  394.  
  395.  
  396.                               LEGALITIES
  397.                               __________
  398.  
  399.  
  400.       THIS SOFTWARE AND ACCOMPANYING MATERIALS ARE DISTRIBUTED "AS IS"
  401.       WITHOUT WARRANTY, EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
  402.       LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  403.       FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL ANYONE INVOLVED WITH
  404.       THE CREATION AND PRODUCTION OF THIS PRODUCT BE LIABLE FOR INDIRECT,
  405.       SPECIAL, OR CONSEQUENTIAL DAMAGES, ARISING OUT OF ANY USE THEREOF
  406.       OR BREACH OF ANY WARRANTY.
  407.  
  408.  
  409.  
  410.  
  411.  
  412.                              DISTRIBUTION
  413.                              ____________
  414.  
  415.    You may make this file available for downloading from your BBS or you may
  416.    upload it to any BBS of your choice, provided that you do not make any
  417.    changes to the contents of the archive (ZIP file). The archive and its
  418.    individual contents may not be used by any service that charges any money
  419.    whatsoever, without the written permission of the author.
  420.  
  421.  
  422.  
  423.  
  424.  
  425.                              REGISTRATION
  426.                              ____________
  427.  
  428.    Registration and the subsequent insertion of the registration number into
  429.    your configuation file, allows for the display of your BBS name on the
  430.    opening and closing screen as well as the reduction of a delay built into
  431.    the opening screen display along with the ability to change certain values
  432.    in the configuration file.
  433.  
  434.    To register your copy of TRIVIA, please fill out the registration form
  435.    (REGISTER.FRM) and mail it along with the registration fee, to the name
  436.    and address on the form.
  437.  
  438.    Be sure to use the proper upper/lower case when filling in your name and
  439.    BBS name, as they MUST match the way you entered them in the configuration
  440.    file.             ^^^^
  441.  
  442.    Based upon information supplied on the registration form, I will pre-
  443.    register you on my BBS. You will then be able to call SUNRISE-80 and pick
  444.    up your registration number.
  445.  
  446.  
  447.  
  448.                                  MISC
  449.                                  ____
  450.  
  451.    The latest version of SUNRISE TRIVIA and other fine SUNRISE DOOR programs
  452.    are always available for download from SUNRISE-80 BBS.
  453.  
  454.    Remember, should you have any problems, questions or suggestions, be sure
  455.    to drop me a message on Sunrise-80 or you can reach me through the
  456.    PCRELAY/RIME network in the BBS Doors, Sysops, PCBHints or through a R/O
  457.    to    ->SUNRISE
  458.  
  459.  
  460.